package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClazzQueryParam {

        private Integer page = 1;       //页码
        private Integer pageSize = 10;  //每页展示记录数
        private String name;            //姓名
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private LocalDate begin = LocalDate.ofEpochDay(2023/1/1);        //默认开课时间
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private LocalDate end = LocalDate.ofEpochDay(2023/5/1);          //默认结课时间


}
